Руслан Ижбулатов [Sat, 16 Jul 2016 09:23:22 +0000 (09:23 +0000)]
W32: Prefer the deadkey combinations that the OS uses
Pick the W32 API for possible deadkey+<something> combinations
and prefer these to other sources of deadkey combos.
Specifically, if W32 API supports at least one combo for a particular
deadkey, only use that data and do not attempt to do other, unsupported
combinations, even if they make sense otherwise.
This is needed to, for example, correctly support US-International
keyboard layout, which produces a combined character for <' + a>
combo, but not for <' + s>, for example.
This is achieved by stashing all the deadkeys that we find in
an array, then doing extra loop through all virtual key codes and
trying to combine them with each of these deadkeys. Any combinations
that produce a single character are cached for later use.
In GTK Simple IM context, call a new GDK W32 function to do a lookup
on that cached combination table early on, among the "special cases"
(which are now partially obsolete).
A limitation of this code is that combinations with more than
one deadkey are not supported, except for combinations that consist
entirely of 2 known deadkeys. The upshot is that lookups should
be relatively fast, as deadkey array stays small and the combination
tree stays shallow.
Note that the use of ToUnicodeEx() seems suboptimal, as it should
be possible to just load a keyboard library (KBD*.DLL) manually
and obtain and use its key table directly. However, that is much more
complicated and would result in a significant rewrite of gdkkeys-win32.
The code from this commit, though hacky, is a direct addition to
existing code and should cover vast majority of the use-cases.
https://bugzilla.gnome.org/show_bug.cgi?id=569581
Руслан Ижбулатов [Wed, 13 Jul 2016 11:41:35 +0000 (11:41 +0000)]
GDK W32: Cache multiple keyboard layouts simultaneously
This changes the group/level semantic.
Previously W32 backend used "group 0/1" to denote "AltGr OFF/ON"
and "level 0/1" to denote "Shift is OFF/ON".
Now "group" means "keyboard layout" and there can be up to 255 groups,
while AltGr and Shift are combined into a single level enum that
takes values between 0 and 4.
Unlike X, W32 doesn't do effective group overriding, meaning that
it will never tell the caller that a different group was actually
used (even for universal keys, such as Enter), because key symbol
table is completely fabricated and there's no point in trying to
save a few of kilobytes of RAM by not duplicating universal key
records for all groups.
Also contains many whitespace changes (tab elimination, fixed
indentation) and cleanup (axed a few global variables, these are
now accessed via the default keymap).
https://bugzilla.gnome.org/show_bug.cgi?id=768722
Timm Bäder [Thu, 4 Aug 2016 11:33:07 +0000 (13:33 +0200)]
shortcutlabel: Make parameter names match
Timm Bäder [Sat, 9 Jul 2016 16:22:27 +0000 (18:22 +0200)]
widget: remove some unneeded function prototypes
Timm Bäder [Fri, 1 Jul 2016 08:51:06 +0000 (10:51 +0200)]
filechooserwidget: Remove unused enum
Timm Bäder [Tue, 19 Jul 2016 12:40:52 +0000 (14:40 +0200)]
label: Destroy the popup menu on unmap
Daniel Mustieles [Wed, 3 Aug 2016 12:28:56 +0000 (12:28 +0000)]
Updated Spanish translation
Emmanuele Bassi [Wed, 3 Aug 2016 10:52:08 +0000 (11:52 +0100)]
Modify git.mk to handle our split NLS directories
GTK+ has two directories for translations: the default 'po' and the
additional 'po-properties' for the GObject properties translation
domain.
Since the content of the translations directories are filled by
autoreconf and gettext, and are duplicated between the two gettext
domains we use, we should handle this ad hoc inside git.mk, instead of
trying to catch up by adding po-properties files in GITIGNOREFILES.
Emmanuele Bassi [Wed, 3 Aug 2016 10:49:15 +0000 (11:49 +0100)]
Add ignore file for macro dir
The contents of the macro directory are too complicated for git.mk to
handle: the contents are filled by autotools and may change between
systems or autotools releases; and we additionally ship our own m4
macros.
To avoid unnecessary noise on the `git status` output we should simply
add an ignore file specifically for the macro directory.
Matthias Clasen [Wed, 3 Aug 2016 03:59:34 +0000 (23:59 -0400)]
Skip GtkShortcutLabel::accelerator in notify test
This property is not freely settable, since the string
gets parsed.
Matthias Clasen [Wed, 3 Aug 2016 03:42:11 +0000 (23:42 -0400)]
menu: Fix up new properties
The new positioning-related properties had some quality of
implementation issues, such as incorrect initial values and
excessive change notification. This broke the notify test.
Matthias Clasen [Wed, 3 Aug 2016 03:23:43 +0000 (23:23 -0400)]
Make icontheme test work with structured logging
Since we've opted in to G_LOG_USE_STRUCTURED, this test
now needs to do its thing using a log writer function.
Matthias Clasen [Wed, 3 Aug 2016 02:32:25 +0000 (22:32 -0400)]
Skip GdkDrawingContext in default value tests
GdkDrawingContext objects can't be freely constructed.
Emmanuele Bassi [Tue, 2 Aug 2016 21:13:54 +0000 (22:13 +0100)]
Require a new version of GLib
We need GLib 2.49.4 because of the new API requirements introduced by
commit
936c1649.
https://bugzilla.gnome.org/show_bug.cgi?id=769451
Daniel Mustieles [Tue, 2 Aug 2016 14:52:29 +0000 (16:52 +0200)]
Updated Spanish translation
Daniel Mustieles [Tue, 2 Aug 2016 14:52:19 +0000 (16:52 +0200)]
Updated Spanish translation
Emmanuele Bassi [Tue, 2 Aug 2016 11:28:00 +0000 (12:28 +0100)]
Update the docs for gtk_window_get_position()
Drop mentions of GnomeClient, and add mentions of different windowing
systems instead of just assuming that we're using X11.
Matthias Clasen [Mon, 1 Aug 2016 13:09:19 +0000 (09:09 -0400)]
Add a release not about GtkTable expand flags
Christoph Reiter [Tue, 26 Jul 2016 11:09:21 +0000 (13:09 +0200)]
gtkbox: remove unnecessary queue_compute_expand()
The expand child property does not have any effect on the
expand state of the GtkBox, so queuing a compute_expand
when changing it is not needed.
https://bugzilla.gnome.org/show_bug.cgi?id=769162
Christoph Reiter [Tue, 26 Jul 2016 10:37:55 +0000 (12:37 +0200)]
gtktable: don't try to propagate expand related child props in compute_expand()
It tried to set the expand state if either xexpand/yexpand where true.
Due to a missing queue_compute_expand when adding a child it actually
only computed the expand state in case a child queued after being added
or in case a child had the expand property set (see optimization in
gtk_widget_set_parent)
In my case this broke layouts as a child of GtkCombBox started setting
an exand flag with 3.20 which queued a compute_expand, which in turn
propagated an expand child props set for a cell in the same table up
and overrode the expand child prop of a parent GtkBox.
This removes the custom compute_expand implementation to match the
behaviour of GtkBox (don't propagate child prop expand flags
but let child expand flags override the child props) and not get random
expand behaviour depending on whether and when child widgets set their
expand state.
https://bugzilla.gnome.org/show_bug.cgi?id=769162
Aurimas Černius [Sun, 31 Jul 2016 16:58:56 +0000 (19:58 +0300)]
Updated Lithuanian translation
Bastien Nocera [Wed, 27 Jul 2016 17:13:31 +0000 (19:13 +0200)]
demos: Fix build failure
gtk+/demos/gtk-demo/css_blendmodes.c: In function ‘update_css_for_blend_mode’:
gtk+/demos/gtk-demo/css_blendmodes.c:49:26: error: format not a string literal, argument types not checked [-Werror=format-nonliteral]
blend_mode);
^~~~~~~~~~
https://bugzilla.gnome.org/show_bug.cgi?id=769236
Sébastien Wilmet [Thu, 28 Jul 2016 18:51:05 +0000 (20:51 +0200)]
docs: trivial build fix
The error was:
gtk3-scan.c:193: undefined reference to `gtk_shortcuts_label_get_type'
collect2: error: ld returned 1 exit status
It's since commit
7543cd8ce419a4d660f0ff7614f0c6e1cac81804, which made
the GtkShortcutLabel class public.
Matthias Clasen [Tue, 26 Jul 2016 19:45:39 +0000 (15:45 -0400)]
Port GtkPrintOperationPortal to gtk_window_export_handle
Matthias Clasen [Tue, 26 Jul 2016 19:44:49 +0000 (15:44 -0400)]
Port gtk_show_uri_on_window to gtk_window_export_handle
As part of this, make it use the new
g_app_info_launch_default_for_uri_async, since we need a way
to unexport the window handle afterwards.
Matthias Clasen [Tue, 26 Jul 2016 19:48:18 +0000 (15:48 -0400)]
Port GtkFileChooserNativePortal to gtk_window_export_handle
Matthias Clasen [Tue, 26 Jul 2016 19:46:41 +0000 (15:46 -0400)]
Put window exporting behind a display protocol agnostic API
Introduce a private API meant for abstracting how to get a handle
of a window that can be shared with other processes. The API is
async, since some implementations will require that. Currently,
only X11 is supported, which doesn't.
Based on a patch by Jonas Adahl.
Руслан Ижбулатов [Sun, 24 Jul 2016 14:26:06 +0000 (14:26 +0000)]
GDK W32: Support UTF-16 surrogate pairs passed via VK_PACKET
This is, essentially, a piece of g_utf16_to_ucs4() built into GDK
W32 keyboard message processing.
https://bugzilla.gnome.org/show_bug.cgi?id=769126
Benjamin Otte [Thu, 28 Jul 2016 15:41:21 +0000 (11:41 -0400)]
css: Fix case where we didn't convert pt => px
Fixes gtk_widget_override_font() not behaving properly since commit
df08fc91bdc1d2e4c866122304fabe4dd298a7de.
https://bugzilla.gnome.org/show_bug.cgi?id=768902
Benjamin Otte [Thu, 28 Jul 2016 15:31:30 +0000 (11:31 -0400)]
css: Rename functions
I don't want to use a generic function for font sizes as font sizes are
special. Plus, the function is only used in one place.
Emilio Pozuelo Monfort [Thu, 28 Jul 2016 15:13:15 +0000 (17:13 +0200)]
Properly declare the font CSS property
https://bugzilla.gnome.org/show_bug.cgi?id=769004
Emilio Pozuelo Monfort [Thu, 28 Jul 2016 15:12:25 +0000 (17:12 +0200)]
Don't use one-stop gradients
They are deprecated, which causes a warning that makes
the test fail.
https://bugzilla.gnome.org/show_bug.cgi?id=769004
Murray Cumming [Thu, 28 Jul 2016 09:12:54 +0000 (11:12 +0200)]
Fix tiny typo.
Lapo Calamandrei [Wed, 27 Jul 2016 20:54:20 +0000 (22:54 +0200)]
Adwaita: use a transition to animate checks and radios
see https://bugzilla.gnome.org/show_bug.cgi?id=762260
Georges Basile Stavracas Neto [Tue, 26 Jul 2016 20:12:31 +0000 (17:12 -0300)]
shortcut-label: add 'disabled-text' property
When there's no useful shortcut accelerator set,
GtkShortcutLabel doesn't show any useful information.
To work around that, add a new property to set the
text to be displayed when there's no accelerator
available.
https://bugzilla.gnome.org/show_bug.cgi?id=769205
Georges Basile Stavracas Neto [Tue, 26 Jul 2016 19:00:47 +0000 (16:00 -0300)]
shortcut-label: make it public
GtkShortcutLabel is a widget that displays a single
shortcut accelerator or gesture in the user interface,
and is currently used by the shortcuts window.
This widget, however, has public value as other applications
also may want to expose their own shortcuts. For instance,
it'll be useful for the Keyboard panel on Control Center and
the new shortcut editor in Pitivi, among others.
This patch exposes GtkShortcutLabel as a public widget,
and adds the necessary documentation.
https://bugzilla.gnome.org/show_bug.cgi?id=769205
Carlos Garnacho [Wed, 27 Jul 2016 18:23:35 +0000 (20:23 +0200)]
GtkScrolledWindow: reset scroll history if it contained no real history
Scroll history must refer to a timespan for the values to be valid, otherwise
we return FALSE, in this case the stored event(s) should be discarded anyway.
Carlos Garnacho [Wed, 27 Jul 2016 18:19:30 +0000 (20:19 +0200)]
GtkScrolledWindow: Always uninstall scroll cursor when starting deceleration
It could be the case that the last scroll event is received long after any
previous scroll event, in this case the last scroll event discards all "old"
scroll events, and scroll_history_finish() returns FALSE because there's no
time/offset deltas in the scroll history.
This is desired so we don't trigger the deceleration effect if there was no
effective velocity, we still must reset the installed scroll cursor, so take
it out of this if() condition.
Tiago Santos [Wed, 27 Jul 2016 07:35:14 +0000 (07:35 +0000)]
Updated Portuguese translation
Matthias Clasen [Tue, 26 Jul 2016 11:25:01 +0000 (07:25 -0400)]
Stop using one-stop gradients in reftests
This is causing warnings now that make the tests fail.
Matthias Clasen [Tue, 26 Jul 2016 04:21:48 +0000 (00:21 -0400)]
Revert a mistaken change
I thought I needed ot rearrange the ordering of the animation-direction
values for the parser, overlooking the fact that we already parse them
backwards to address this very problem.
Sébastien Wilmet [Sun, 24 Jul 2016 15:20:29 +0000 (17:20 +0200)]
docs: GtkWidget::style-updated vs GtkStyleContext::changed
Explain the difference between those two signals.
Add "Since: 3.0" for GtkStyleContext::changed, since that signal has
been added in commit
9f84e101bf150a85f82e15c56130b1f98b8fdbf0, present
since 2.91.6.
https://bugzilla.gnome.org/show_bug.cgi?id=769047
Sébastien Wilmet [Sun, 24 Jul 2016 11:16:31 +0000 (13:16 +0200)]
docs: add missing info for gtk_widget_get_style_context()
It is important to know whether the returned object can or cannot
change, for a certain widget. For example to connect to the
GtkStyleContext::changed signal.
https://bugzilla.gnome.org/show_bug.cgi?id=769047
Matthias Clasen [Mon, 25 Jul 2016 13:11:21 +0000 (09:11 -0400)]
GtkApplication: some cleanups
Always return an error if we fail to get a dbus proxy; the callers
are only looking whether error is set, not whether the return value
is NULL.
Use the same function for the inhibit proxy as well, and clean up
the sm_proxy in finalize.
Simon McVittie [Mon, 6 Jun 2016 08:48:36 +0000 (09:48 +0100)]
Don't apply GDK_HINT_RESIZE_INC to GDK_WINDOW_STATE_TILED windows
This matches the behaviour of Mutter, Metacity and traditional X11
window managers on the window manager side, and is what we want
for at least gnome-terminal. I can't think of any reason why we'd
want incremental resize in any other tiled window.
Signed-off-by: Simon McVittie <smcv@debian.org>
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=760944
https://bugzilla.gnome.org/show_bug.cgi?id=755947
Cosimo Cecchi [Sat, 16 Jul 2016 18:48:32 +0000 (11:48 -0700)]
reftests: override GSETTINGS_SCHEMA_DIR when running tests
The reftest depends on a schema we install ourselves. Instruct GIO to
look in the build directory to avoid a cyclic dep.
https://bugzilla.gnome.org/show_bug.cgi?id=768930
Matthias Clasen [Mon, 25 Jul 2016 12:32:24 +0000 (08:32 -0400)]
Avoid a division by zero
It appears that xvfb returns nonsense in its xrandr resources.
Avoid a crash when that happens.
https://bugzilla.gnome.org/show_bug.cgi?id=768999
Matthias Clasen [Mon, 25 Jul 2016 12:32:08 +0000 (08:32 -0400)]
Use g_clear_object in a few more places
Lapo Calamandrei [Sun, 24 Jul 2016 17:11:27 +0000 (19:11 +0200)]
Adwaita: use margins for entry image spacing
there used to be a padding, since it was the only option in the
past, that makes little sense now, hence use margins.
Lapo Calamandrei [Sun, 24 Jul 2016 16:58:45 +0000 (18:58 +0200)]
HC: export unfocused_insensitive_color...
...to reflect Adwaita changes.
Lapo Calamandrei [Sun, 24 Jul 2016 16:04:51 +0000 (18:04 +0200)]
Adwaita: export yet another named color for insensitive bg/fg...
...which was needed, but not there, use responsibly.
Timm Bäder [Sat, 23 Jul 2016 12:07:47 +0000 (14:07 +0200)]
Fix a few documentation parameter names
Matthias Clasen [Sat, 23 Jul 2016 03:11:44 +0000 (23:11 -0400)]
Opt in to structured logging
Define G_LOG_USE_STRUCTURED, so that all our g_debug, g_warning,
etc calls directly use structured logging and provide source information.
Carlos Garnacho [Fri, 22 Jul 2016 18:58:55 +0000 (20:58 +0200)]
wayland: Fix build
Missing include pointing to tablet-unstable-v1-client-protocol.h,
pays me for not testing on a clean checkout.
Carlos Garnacho [Fri, 13 May 2016 13:25:25 +0000 (15:25 +0200)]
wayland: Use wl_fixed_t on wp_tablet_tool angle arguments
This is an incompatible change in tablet protocol v2.
Carlos Garnacho [Fri, 13 May 2016 13:19:04 +0000 (15:19 +0200)]
wayland: Update current tablet support to using v2
Only update to using v2 headers/structs. The incompatible changes
to tool events are dealt with in the next commit. Pads aren't handled
in this commit either.
Lapo Calamandrei [Fri, 22 Jul 2016 12:10:56 +0000 (14:10 +0200)]
Adwaita: dim calendar `uninteresting` days some more
see https://bugzilla.gnome.org/show_bug.cgi?id=769003
Lapo Calamandrei [Wed, 20 Jul 2016 20:48:25 +0000 (22:48 +0200)]
Adwaita: clean calendar styling
remove some non working props and generally simplify and clean up
the code, in the process address:
https://bugzilla.gnome.org/show_bug.cgi?id=769003
Daniel Mustieles [Wed, 20 Jul 2016 10:38:39 +0000 (10:38 +0000)]
Updated Spanish translation
Piotr Drąg [Tue, 19 Jul 2016 15:14:30 +0000 (17:14 +0200)]
Updated POTFILES.skip
William Hua [Mon, 4 Jul 2016 19:31:16 +0000 (15:31 -0400)]
mir: implement gdk_window_move_to_rect ()
https://bugzilla.gnome.org/show_bug.cgi?id=756579
William Hua [Tue, 12 Jul 2016 18:08:36 +0000 (14:08 -0400)]
port to new gtk_menu_popup_at_* () functions
https://bugzilla.gnome.org/show_bug.cgi?id=756579
William Hua [Thu, 23 Jun 2016 14:54:22 +0000 (10:54 -0400)]
add demo for testing gtk_menu_popup_at_* ()
https://bugzilla.gnome.org/show_bug.cgi?id=756579
William Hua [Tue, 14 Jun 2016 19:42:13 +0000 (15:42 -0400)]
gtkmenu: add gtk_menu_popup_at_* ()
Adds the following functions:
gtk_menu_popup_at_rect ()
gtk_menu_popup_at_widget ()
gtk_menu_popup_at_pointer ()
https://bugzilla.gnome.org/show_bug.cgi?id=756579
William Hua [Wed, 15 Jun 2016 15:00:38 +0000 (11:00 -0400)]
gdkwindow: add gdk_window_move_to_rect ()
https://bugzilla.gnome.org/show_bug.cgi?id=756579
William Hua [Sat, 16 Jul 2016 00:52:35 +0000 (20:52 -0400)]
gdkwindow: store transient_for window
https://bugzilla.gnome.org/show_bug.cgi?id=756579
William Hua [Thu, 16 Jun 2016 15:20:35 +0000 (11:20 -0400)]
gdkwindow: store shadow sizes
https://bugzilla.gnome.org/show_bug.cgi?id=756579
Daniel Mustieles [Mon, 18 Jul 2016 14:48:16 +0000 (16:48 +0200)]
Updated Spanish translation
Daniel Mustieles [Mon, 18 Jul 2016 14:48:06 +0000 (16:48 +0200)]
Updated Spanish translation
Руслан Ижбулатов [Mon, 18 Jul 2016 10:32:04 +0000 (10:32 +0000)]
Try to delete any existing W32 status icons when DPI changes
Fixes some or all of the issues reported in
https://github.com/hexchat/hexchat/issues/1423
Matthias Clasen [Mon, 18 Jul 2016 03:27:35 +0000 (23:27 -0400)]
3.21.4
Matthias Clasen [Sun, 17 Jul 2016 18:07:47 +0000 (14:07 -0400)]
Updates
Chao-Hsiung Liao [Sat, 16 Jul 2016 02:46:17 +0000 (02:46 +0000)]
Updated Chinese (Taiwan) translation
Chao-Hsiung Liao [Sat, 16 Jul 2016 02:45:07 +0000 (02:45 +0000)]
Updated Chinese (Taiwan) translation
Piotr Drąg [Thu, 14 Jul 2016 15:06:21 +0000 (17:06 +0200)]
Add Language headers to po files
Future versions of gettext will fail if this header is missing.
Javier Jardón [Wed, 13 Jul 2016 20:15:15 +0000 (21:15 +0100)]
Add LINGUAS file to po-properties
Tiago Santos [Wed, 13 Jul 2016 16:49:10 +0000 (16:49 +0000)]
Updated Portuguese translation
Tiago Santos [Wed, 13 Jul 2016 16:47:18 +0000 (16:47 +0000)]
Updated Portuguese translation
Matthias Clasen [Wed, 13 Jul 2016 15:23:47 +0000 (11:23 -0400)]
link button: Use gtk_show_uri_on_window
This gives slightly better behavior in the sandboxed case and
makes no difference otherwise.
Patrick Griffis [Wed, 13 Jul 2016 05:44:34 +0000 (01:44 -0400)]
GtkFileChooserNativePortal: Use correct response code for accept
As per the documentation of GtkFileChooserNative.
https://bugzilla.gnome.org/show_bug.cgi?id=768756
Chun-wei Fan [Mon, 11 Jul 2016 09:50:13 +0000 (17:50 +0800)]
gtk/gtkfilechoosernativeportal.c: Don't use g_autoptr()
This code is also built by non-GCC/CLang compilers, so use the normal
ref/unref steps for the GVariant.
https://bugzilla.gnome.org/show_bug.cgi?id=768659
Matthias Clasen [Wed, 13 Jul 2016 01:57:46 +0000 (21:57 -0400)]
Remove a few mentions of GtkVBox in the docs
We only have GtkBox nowadays.
Emmanuele Bassi [Tue, 12 Jul 2016 17:09:20 +0000 (18:09 +0100)]
docs: Fix typo.
Emmanuele Bassi [Tue, 12 Jul 2016 11:43:31 +0000 (12:43 +0100)]
docs: Attempt a better explanation for gtk_widget_destroy()
Clarify the nature of this function, and the expectations after it's
been called.
Piotr Drąg [Tue, 12 Jul 2016 11:31:21 +0000 (13:31 +0200)]
placesview: fix spelling of WebDAV in a translatable string
Razvan Chitu [Tue, 12 Jul 2016 09:08:23 +0000 (12:08 +0300)]
placesview: fix open action for locations without a mount or volume
In the "Other Locations" view, locations can be opened from the context menu
based on their mount or volume. However, some locations, like "Computer", do not
have either of those so they cannot be opened from the context menu. In order to
fix this, the file associated with the location can be used as well.
https://bugzilla.gnome.org/show_bug.cgi?id=768657
Emmanuele Bassi [Mon, 11 Jul 2016 15:55:10 +0000 (16:55 +0100)]
docs: Improve gdk_window_create_similar_image_surface()
The sizes passed are in device pixels and do not take into account the
scaling factor of the window itself. We cannot change the semantics of
the function, so let's at least add a warning for this trap door.
Lapo Calamandrei [Fri, 8 Jul 2016 22:56:32 +0000 (00:56 +0200)]
Adwaita: remove old popover checkbutton/radiobutton style
remove some now disfunctional style regarding checkbuttons and
radiobuttons inside popovers which shouldn't be needed anymore.
Lapo Calamandrei [Fri, 8 Jul 2016 20:08:27 +0000 (22:08 +0200)]
Adwaita: remove some check and radio related cruft
remove superfluous padding which was there before the css node
conversion of the widget.
Piotr Drąg [Fri, 8 Jul 2016 19:49:21 +0000 (21:49 +0200)]
Updated POTFILES.in
Matthias Clasen [Fri, 8 Jul 2016 14:26:22 +0000 (10:26 -0400)]
Fix up the documentation of GtkTextView::move-viewport
Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=768546
Matthias Clasen [Tue, 5 Jul 2016 05:36:56 +0000 (01:36 -0400)]
Add portal support to GtkPrintOperation
Make GtkPrintOperation talk to org.freedesktop.portal.Print when
running in a sandbox.
https://bugzilla.gnome.org/show_bug.cgi?id=768499
Matthias Clasen [Mon, 4 Jul 2016 04:04:38 +0000 (00:04 -0400)]
print job: Add api to send data from an fd
This will be useful for portalized print support.
https://bugzilla.gnome.org/show_bug.cgi?id=768499
Matthias Clasen [Sun, 3 Jul 2016 00:29:51 +0000 (20:29 -0400)]
page setup: Add api to serialize to a GVariant
This will be useful for portalized print support.
https://bugzilla.gnome.org/show_bug.cgi?id=768499
Matthias Clasen [Thu, 7 Jul 2016 01:31:49 +0000 (21:31 -0400)]
Add api to serialize a GtkPaperSize to a GVariant
This will be useful in portalized printing.
https://bugzilla.gnome.org/show_bug.cgi?id=768499
Matthias Clasen [Sun, 3 Jul 2016 00:29:08 +0000 (20:29 -0400)]
print settings: Add api to serialize to a GVariant
This will be useful for portalized print support.
https://bugzilla.gnome.org/show_bug.cgi?id=768499
Matthias Clasen [Sat, 2 Jul 2016 01:19:12 +0000 (21:19 -0400)]
Support the Inhibit portal
xdg-desktop-portal now has a portal for inhibiting session status
changes. We don't need to use it if we can talk to the session
manager, but if can't, try org.freedesktop.portal.Inhibit.
https://bugzilla.gnome.org/show_bug.cgi?id=768499
Matthias Clasen [Wed, 6 Jul 2016 02:13:22 +0000 (22:13 -0400)]
Implement combobox apis for GtkFileChooserNativePortal
https://bugzilla.gnome.org/show_bug.cgi?id=768499
Matthias Clasen [Wed, 6 Jul 2016 02:11:44 +0000 (22:11 -0400)]
Implement combobox apis in GtkFileChooserWidget
https://bugzilla.gnome.org/show_bug.cgi?id=768499
Matthias Clasen [Wed, 6 Jul 2016 02:09:56 +0000 (22:09 -0400)]
GtkFileChooser: Add abstract api for comboboxes and checkbuttons
This commit adds API for adding combo boxes and check buttons to
GtkFileChooser, and getting the selected value back in ::response.
In contrast to gtk_file_chooser_set_extra_widget, these APIs are
abstract and suitable for implementation in GtkFileChooserNative.
https://bugzilla.gnome.org/show_bug.cgi?id=768499